import { service } from '@/utils/request'

export const getDataApi = (url, params = {}) => {
    return service({
        method: 'GET',
        url: `/${url}`,
        params
    })
}